<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			var name = "zhangsan";
			// console.log(name);
			// console.log(window.name);
			// window.alert();
			// alert();

			function test() {
				var x = 6;
				// console.log(name);
			}

			test();
			// console.log(window.x);
			// console.log(x);
		</script>

		<script type="text/javascript">
			// console.log("script2:" + name);
		</script>
	</head>
	<body>
	</body>
</html>
